package com.weguard.websocket;

/**
 * 
 * @author xuhan
 *
 */
public class Result {
	/**
	 * 落子颜色
	 */
	private String color;
	/**
	 * 是否允许落子
	 */
	private boolean permit;
	/**
	 * 发送消息
	 */
	private String message;
	/**
	 * 落子坐标y
	 */
	private int y;
	/**
	 * 落子坐标x
	 */
	private int x;
	/**
	 * 用户名称
	 */
	private String usrname;
	/**
	 * 消息类型
	 * "username"
	 * "wait"
	 * "start"
	 * "play"
	 * "end"
	 * "opponentquit"
	 */
	private String msgtype;
	
	public String getUsrname() {
		return usrname;
	}
	public void setUsrname(String usrname) {
		this.usrname = usrname;
	}
	public String getMsgtype() {
		return msgtype;
	}
	public void setMsgtype(String msgtype) {
		this.msgtype = msgtype;
	}
	
	public int getX() {
		return x;
	}
	public void setX(int x) {
		this.x = x;
	}
	
	public int getY() {
		return y;
	}
	public void setY(int y) {
		this.y = y;	
	}
	
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	
	public boolean isPermit() {
		return permit;
	}
	public void setPermit(boolean permit) {
		this.permit = permit;
	}
	
	public String getColor() {
		return color;
	}
	public void setColor(String color) {
		this.color = color;
	}
	
	
	
	

	
	
	
	
	
}
